﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class BXWMSBarcodeKCDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXWMSBarcodeKCRequestDto
    {
        /// <summary>
        /// 描述 : 订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ddate")]
        public string ddate { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXWMSBarcodeKCResponseDto
    {

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<BXWMSBarcodeKCResponseData> data { get; set; }

    }

    public class BXWMSBarcodeKCResponseData
    {
        /// <summary>
        /// 描述 : 组织编码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public decimal? material_amount { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remark")]
        public string remark { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_thickness")]
        public decimal? average_thickness { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistance")]
        public decimal? average_resistance { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistancefocus")]
        public decimal? average_resistancefocus { get; set; }

        

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "create_time")]
        public DateTime? create_time { get; set; }




    }
}
